home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #6
/
Amiga Plus CD - 2004 - No. 06.iso
/
AmigaPlus
/
Begleitmaterial
/
50Tools
/
Grafik
/
PerfectPaint
/
rexx
/
general
/
PfPShell.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2001-03-23
|
524b
|
28 lines
/* shell */
options results
parse ARG Port b
if ~open(s_con,'con:999/999/512/200/PerfectPaint shell/close/screen' Port) then exit
options failat 21
DO FOREVER
call writech s_con,Port'> '
s_inline=readln(s_con)
IF eof(s_con) then EXIT
parse upper var s_inline s_kwd s_line
IF s_inline~='' then DO
drop result
address value Port
''s_inline
IF symbol('RESULT')='VAR' then DO
IF result~="OKAY" then DO
call writeln s_con,'RESULT="'result'"'
END
END
END
END